package com.fancy.learncenter.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by hyy on 2018/5/22.
 */

public class UnReadMsg {

    /**
     * status : 200
     * msg : ok
     * data : {"total":"0","lastMessage":null}
     */
    /**
     * total : 0
     * lastMessage : null
     */

    private int total;

    /**
     * status : 200
     * msg : ok
     * data : {"total":"1","lastMessage":{"id":"169","type":"2","send_user_id":"13409","user_id":"13388","content":"你好吗","relate_id":"200","is_read":"0","add_time":"2018-05-22 13:54:46"}}
     */


    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }


    private LastMessageBean lastMessage;


    public LastMessageBean getLastMessage() {
        return lastMessage;
    }

    public void setLastMessage(LastMessageBean lastMessage) {
        this.lastMessage = lastMessage;
    }

    public class LastMessageBean {
        /**
         * id : 169
         * type : 2
         * send_user_id : 13409
         * user_id : 13388
         * content : 你好吗
         * relate_id : 200
         * is_read : 0
         * add_time : 2018-05-22 13:54:46
         */

        private String id;
        private String type;
        private String send_user_id;
        private String user_id;
        private String content;
        private String relate_id;
        private String is_read;
        private String add_time;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getSend_user_id() {
            return send_user_id;
        }

        public void setSend_user_id(String send_user_id) {
            this.send_user_id = send_user_id;
        }

        public String getUser_id() {
            return user_id;
        }

        public void setUser_id(String user_id) {
            this.user_id = user_id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getRelate_id() {
            return relate_id;
        }

        public void setRelate_id(String relate_id) {
            this.relate_id = relate_id;
        }

        public String getIs_read() {
            return is_read;
        }

        public void setIs_read(String is_read) {
            this.is_read = is_read;
        }

        public String getAdd_time() {
            return add_time;
        }

        public void setAdd_time(String add_time) {
            this.add_time = add_time;
        }
    }
}
